home *** CD-ROM | disk | FTP | other *** search
/ Tux Racer / Tux Racer.iso / program files / Sunspire Studios / Tux Racer / courses / beginner / sunset_light.tcl < prev    next >
Encoding:
Text File  |  2001-09-09  |  1.3 KB  |  34 lines

  1. objset :course \
  2.     {-light0_on} {1} \
  3.     {-light0_ambient} {0.34999999404 0.34999999404 0.379999995232 1.0} \
  4.     {-light0_diffuse} {0.740000009537 0.550000011921 0.319999992847 1.0} \
  5.     {-light0_specular} {0.9 0.8 0.75 1.0} \
  6.     {-light0_position} {1.0 1.0 0.699999988079 0.0}
  7.  
  8. tux_fog -on -mode linear -density 0.005 -colour { 0.53 0.45 0.43 1 } -start 0 \
  9.     -end [tux_get_param forward_clip_distance]
  10.  
  11.   
  12. #
  13. # Environmental sphere map
  14. tux_load_texture envmap ../beginner/beginnerevening_right.png 0
  15.  
  16. tux_particle_colour { 0.9 0.8 0.65 1.0 }
  17.  
  18. tux_load_texture beginner-front ../beginner/beginnerevening_front.png 0
  19. tux_load_texture beginner-right ../beginner/beginnerevening_right.png 0
  20. tux_load_texture beginner-left ../beginner/beginnerevening_left.png 0
  21. tux_load_texture beginner-back ../beginner/beginnerevening_back.png 0
  22. tux_load_texture beginner-top ../beginner/beginnerevening_top.png 0
  23. tux_load_texture beginner-bottom ../beginner/beginnerevening_bottom.png 0
  24.  
  25. tux_bind_texture sky_front beginner-front
  26. tux_bind_texture sky_right beginner-right
  27. tux_bind_texture sky_left beginner-left
  28. tux_bind_texture sky_back beginner-back
  29. tux_bind_texture sky_top beginner-top
  30. tux_bind_texture sky_bottom beginner-bottom
  31.  
  32. objcreate {s_texture_cube} {:textures:cubemap} \
  33.     {-filename} {../beginner/beginnerevening_}
  34.